package yf.mall.service.app;

import com.github.pagehelper.Page;
import com.github.pagehelper.PageInfo;
import yf.mall.entity.AppCourseEntity;
import yf.mall.entity.AppCoursePurchaseEntity;
import yf.mall.entity.AppCoursePurchaseEntityExample;
import yf.mall.vo.AppCoursePurchaseVo;
import com.yf.service.BaseService;
import java.io.InputStream;
import javax.servlet.http.HttpServletResponse;
import java.util.List;

import org.springframework.web.multipart.MultipartFile;

/**
 * 课程购买记录表Service接口
 *
 *
 * 
 * @date Sat Jul 29 17:36:10 CST 2023
 */
public interface AppCoursePurchaseService extends BaseService<AppCoursePurchaseEntity> {

    /************自动生成**************/
    List<AppCoursePurchaseVo> findVo(AppCoursePurchaseVo vo);

        AppCoursePurchaseVo getVo(Long id);

     int updateVo(AppCoursePurchaseVo vo);

       int saveVo(AppCoursePurchaseVo vo);

    void downLoad(HttpServletResponse response, List<AppCoursePurchaseVo> list);

    void upload(InputStream file);

    /***********BACK***********/




    /***********API***********/
    /**
     * 分页查询
     * @param example
     * @param page
     * @return
     */
    PageInfo<AppCoursePurchaseEntity> page(AppCoursePurchaseEntityExample example, Page<AppCoursePurchaseEntity> page);

}
